<?php use mForge\Helpers\HtmlBinder; ?>
<div class="container">
    <form action="" method="post">
        <fieldset>
            <div class="field text">
                <?php HtmlBinder::labelFor($loginModel, 'username'); ?>
                <?php HtmlBinder::textBoxFor($loginModel, 'username'); ?>
                <?php HtmlBinder::validationMessagesFor($loginModel, 'username'); ?>
            </div>
            <div class="field text password">
                <?php HtmlBinder::labelFor($loginModel, 'password'); ?>
                <?php HtmlBinder::passwordFor($loginModel, 'password'); ?>
                <?php HtmlBinder::validationMessagesFor($loginModel, 'password'); ?>
            </div>
        </fieldset>
        <div class="actions">
            <button type="submit">
                Log in
            </button>
        </div>
    </form>
</div>